package com.lx.ngsl.exam.hsitory.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.lx.ngsl.exam.hsitory.entity.historyEnetity;
import com.lx.ngsl.exam.quest.entity.QuestEntity;
import com.lx.ngsl.exam.score.entity.ScoreEntity;

public interface HsitoryRepository extends JpaRepository<ScoreEntity, String> {
	Page<ScoreEntity> findAll(Specification<ScoreEntity> spec, Pageable pageable);
	List<ScoreEntity> findByUserId(String userid);
}
